<?php
class Error extends Controller {
	function __construct() {
		parent::Controller();
		$this->load->model('Category_model');
		$this->load->model('Customer_model');
	}
	
	function error_404() {
		$data['page_title'] = "Page Not Found";
		$data['categories'] = $this->Category_model->get_main();
		$this->load->view('common/header',$data);
		//$this->load->view('common/leftbar',$data);
		$this->load->view('error/404');
		$this->load->view('common/footer');
	}
}
?>